package com.xsmart.oa.dao.mall.mymenu;

import com.xsmart.common.entity.user.InfsUsers;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Component;

@Component
public interface UserMsgManagerDao {
    @Update("update INFS_USER set sex = #{infsUser.sex},birthday = #{infsUser.birthday},mobile_phone = #{infsUser.mobilePhone}," +
            "nick_name = #{infsUser.nickName},office_phone = #{infsUser.officePhone},home_phone = #{infsUser.homePhone},qq = #{infsUser.qq}," +
            "user_picture = #{infsUser.userPicture} where user_id = #{infsUser.userId}")
    int updateUserMsg(@Param("infsUser") InfsUsers infsUser);

}
